home *** CD-ROM | disk | FTP | other *** search
- // PartitionMagic Script File
-
- // This script file is an example of creating an extended partition
-
- // Scenario:
- // A 1.2 GB disk is entirely allocated to a primary C: partition, containing
- // 300 MB of data.
- //
- // The user wishes to change the size of the C: partition to 450 MB and create
- // logical partitions D: and E:. The D: partition is to be 300 MB with the E:
- // partition filling the rest of the disk.
-
- // Check the C: partition for errors before making any changes
- Select Partition C
- Check
-
- // Resize the partition to be 450 MB
- Resize 450
-
- // Select the unallocated space and create an extended partition
- Select Unallocated After Selected Partition
- Create /FS=Extended
-
- // Select the unallocated space within the extended partition and create
- // logical partitions
- Select Unallocated Next
- Create /FS=FAT /Label="Files" /Size=300
- Select Unallocated After Selected Partition
- Create /FS=Fat /Label="Apps"
-